package cn.edu.ujn.liuklab3.service;

import cn.edu.ujn.liuklab3.entity.Orderdetail;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

public interface OrderdetailService {

    Orderdetail queryById(Integer detId);

    Page<Orderdetail> queryByPage(Orderdetail orderdetail, PageRequest pageRequest);

    Orderdetail insert(Orderdetail orderdetail);

    boolean deleteById(Integer detId);

    cn.edu.ujn.util.Page<Orderdetail> selectAll(Orderdetail orderdetail);
}
